﻿using System;

namespace TTprotons.Crm.JavascriptAudit.Common
{
    public class JavascriptAuditLog
    {
        private string _entityName;
        public string EntityName
        {
            get { return _entityName; } 
            set
            {
                _entityName = value;

            }
        }

        private string _eventName;
        public string EventName
        {
            get { return _eventName; }
            set
            {
                _eventName = value;

            }
        }

        private string _fieldName;
        public string FieldName
        {
            get { return _fieldName; }
            set
            {
                _fieldName = value;

            }
        }

        private string _fieldLogicalName;
        public string FieldLogicalName
        {
            get { return _fieldLogicalName; }
            set
            {
                _fieldLogicalName = value;

            }
        }

        private FormTypes _formType;
        public FormTypes FormType
        {
            get { return _formType; }
            set
            {
                _formType = value;

            }
        }

        private bool _isActive;
        public bool IsActive
        {
            get { return _isActive; }
            set
            {
                _isActive = value;

            }
        }

        private JavascriptTypes _javascriptType;
        public JavascriptTypes JavascriptType
        {
            get { return _javascriptType; }
            set
            {
                _javascriptType = value;

            }
        }

        private string _name;
        public string Name
        {
            get { return _name; }
            set
            {
                _name = value;

            }
        }

        private DateTime _publishedOn;
        public DateTime PublishedOn
        {
            get { return _publishedOn; }
            set
            {
                _publishedOn = value;

            }
        }

        public string PreJavascriptCode
        { get; set; }

        public string PostJavascriptCode
        { get; set; }
    }
}